projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01648f3
)
at91: Correct NAND ECC register access
author
Andre Renaud
<
[email protected]
>
Thu, 5 May 2016 13:28:14 +0000
(07:28 -0600)
committer
Andreas Bießmann
<
[email protected]
>
Sun, 12 Jun 2016 21:49:38 +0000
(23:49 +0200)
This uses the wrote base register value. Fix it.
Signed-off-by: Andre Renaud <
[email protected]
>
Signed-off-by: Simon Glass <
[email protected]
>
Reviewed-by: Andreas Bießmann <
[email protected]
>
drivers/mtd/nand/atmel_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/atmel_nand.c
b/drivers/mtd/nand/atmel_nand.c
index 75e830724c727bf11b3069d7ab2363e46db823e8..debf93318a4efde6998c708c3a2bc935ad201e5e 100644
(file)
--- a/
drivers/mtd/nand/atmel_nand.c
+++ b/
drivers/mtd/nand/atmel_nand.c
@@
-24,9
+24,9
@@
/* Register access macros */
#define ecc_readl(add, reg) \
- readl(
AT91_BASE_SYS +
add + ATMEL_ECC_##reg)
+ readl(add + ATMEL_ECC_##reg)
#define ecc_writel(add, reg, value) \
- writel((value),
AT91_BASE_SYS +
add + ATMEL_ECC_##reg)
+ writel((value), add + ATMEL_ECC_##reg)
#include "atmel_nand_ecc.h" /* Hardware ECC registers */